package com.ruoyi.reservation.mapper;

import java.util.List;
import com.ruoyi.reservation.domain.Reservation;

/**
 * 场馆预约Mapper接口
 * 
 * @author HuLongHui
 * @date 2023-02-18
 */
public interface ReservationMapper 
{
    /**
     * 查询场馆预约
     * 
     * @param reservationId 场馆预约主键
     * @return 场馆预约
     */
    public Reservation selectReservationByReservationId(Long reservationId);

    /**
     * 查询场馆预约列表
     * 
     * @param reservation 场馆预约
     * @return 场馆预约集合
     */
    public List<Reservation> selectReservationList(Reservation reservation);

    /**
     * 新增场馆预约
     * 
     * @param reservation 场馆预约
     * @return 结果
     */
    public int insertReservation(Reservation reservation);

    /**
     * 修改场馆预约
     * 
     * @param reservation 场馆预约
     * @return 结果
     */
    public int updateReservation(Reservation reservation);

    /**
     * 删除场馆预约
     * 
     * @param reservationId 场馆预约主键
     * @return 结果
     */
    public int deleteReservationByReservationId(Long reservationId);

    /**
     * 批量删除场馆预约
     * 
     * @param reservationIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteReservationByReservationIds(Long[] reservationIds);
}
